package com.kuang.service;


import com.kuang.pojo.User;

import java.util.List;
import java.util.Map;

public interface UserService {


   int addUser(User user);

   int deleteUser(int id);

   User updateUserByName(String username);

   User queryByIdUser(int id);

   List<User> queryAllUser();

   User updateUserPassword(Map<String,Object> map);

   User queryUserByName(String username,String password);
}
